Updated build_virtual_manifest_one_project test
authordebris <marek.kotewicz@gmail.com>
Fri, 28 Jul 2017 11:51:16 +0000 (13:51 +0200)
committerdebris <marek.kotewicz@gmail.com>
Fri, 28 Jul 2017 11:51:16 +0000 (13:51 +0200)
tests/build.rs

index bc203eef69f126065492b5661b195f513b539d15..2f82def40eeb2962ee87d8b89ff598ffa63fcf90 100644 (file)
@@ -3096,11 +3096,10 @@ fn build_virtual_manifest_one_project() {
             pub fn bar() {}
         "#);
 
-    // The order in which foo and bar are built is not guaranteed
     assert_that(p.cargo_process("build")
                  .arg("-p").arg("foo"),
                 execs().with_status(0)
-                       .with_stderr_does_not_contain("[..] Compiling bar v0.1.0 ([..])")
+                       .with_stderr_does_not_contain("bar")
                        .with_stderr_contains("[..] Compiling foo v0.1.0 ([..])")
                        .with_stderr("[..] Compiling [..] v0.1.0 ([..])\n\
                        [..] Finished dev [unoptimized + debuginfo] target(s) in [..]\n"));